package com.igeekhome.mapper;

import com.igeekhome.pojo.DCustomer;
import com.igeekhome.pojo.DCustomerExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DCustomerMapper {
    int countByExample(DCustomerExample example);

    int deleteByExample(DCustomerExample example);

    int deleteByPrimaryKey(Integer clientId);

    int insert(DCustomer record);

    int insertSelective(DCustomer record);



    List<DCustomer> selectByExample(DCustomerExample example);

    DCustomer selectByPrimaryKey(Integer clientId);

    int updateByExampleSelective(@Param("record") DCustomer record, @Param("example") DCustomerExample example);

    int updateByExample(@Param("record") DCustomer record, @Param("example") DCustomerExample example);

    int updateByPrimaryKeySelective(DCustomer record);

    int updateByPrimaryKey(DCustomer record);
}